From: Álvaro Fernández Rojas Date: Fri, 14 Nov 2025 14:08:07 +0000 (+0100) Subject: github: ci: add cmake build and source directories X-Git-Url: http://git.openwrt.org/%22http:/oss.oetiker.ch/rrdtool//%22/%22http:/oss.oetiker.ch/rrdtool/%22?a=commitdiff_plain;h=087d4ce8c07bb5d7af84030f97f481716701efc8;p=project%2Flibnl-tiny.git github: ci: add cmake build and source directories Add cmake build and source directories to suppress the following warning: CMake Warning: No source or binary directory provided. Both will be assumed to be the same as the current working directory, but note that this warning will become a fatal error in future CMake releases. Signed-off-by: Álvaro Fernández Rojas --- diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 072d9d5..586b9d3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -55,7 +55,7 @@ jobs: -DCMAKE_C_COMPILER=${{ matrix.gcc }} \ -DCMAKE_PREFIX_PATH=${GITHUB_WORKSPACE}/build \ --install-prefix ${GITHUB_WORKSPACE}/build \ - -B $BUILD_DIR + -B $BUILD_DIR -S . make -C $BUILD_DIR make -C $BUILD_DIR install echo "size_${{ matrix.arch }}_a=$( find $BUILD_DIR -type f -name libnl-tiny.a -printf '%s' )" >> $GITHUB_OUTPUT